﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LittleBoxes
{
    /// <summary>
    /// A place where an Edge can connect to a Node.  A regular ConnectionPoint is non-directional.
    /// </summary>
    partial class ConnectionPoint : UserControl
    {
        public ConnectionPoint()
        {
            InitializeComponent();
            this.descriptionToolTip.SetToolTip(this, "ConnectionPoint");
            this.descriptionToolTip.ShowAlways = true;
        }

        /// <summary>
        /// A name or description for the connection point.
        /// </summary>
        public string Description 
        {
            get { return this.description; }
            set
            {
                this.description = value;
                this.descriptionToolTip.SetToolTip(this, this.description);
            }
        }
        private string description;
    }
}
